{extend name="public/base"}

{block name="title"}
合伙人首页
{/block}

{block name="style"}
{css href="/static/wechat/css/index.css" /}
{css href="/static/wechat/css/shop.css" /}
<style>
    .weui-flex__item {
        flex: .25;
    }
</style>
{/block}

{block name="body"}
<div class="pageControl index">
    <div class="msui_nav msui_navTop">
        <h1 class="msui_navTop-title">摩邦合伙人</h1>
        <a class="msui_navTop-icon" href="{:url('w_message/index', ['type' => 3])}">
            <!--<i class="micon-message"></i>-->
            {gt name="data.new_msg_num|default=0" value="0"}
            <i class="to_messages"></i>
            {else /}
            <i class="micon-message"></i>
            {/gt}
        </a>
    </div>
    <div class="msui_table msui_tableCom">
        <a class="msui_tabCell-img msui_tableImg-circle" href="{:url('w_member_role_info/save_role_info', ['type' => 3])}">
            <img src="{$member.headimgurl|get_img_url}"  />
        </a>
        <div class="msui_tabCell-content">
            <p class="fs085 cl-3333">{$member.nickname}</p>
            <p class="fs075 cl-9999">{$member.signature}</p>
        </div>
        <a class="msui_tabCell-button">
            <i class="micon-in"></i>
        </a>
    </div>
    <div class="weui-flex allOrder">
        <a class="weui-flex__item" href="{:url('p_team/index')}">
            <i class="micon-robOrder"></i>
            <span class="fs07 cl-9999">合伙人团队</span>
        </a>
        {eq name="data.level" value="3"}
        <a class="weui-flex__item"  href="{:url('p_team/repair_team')}">
            <i class="micon-bargain"></i>
            {gt name="data.repair_team.repair_num" value="0"}
            <i class="micon-tips">{$data.repair_team.repair_num}</i>
            {/gt}
            <span class="fs07 cl-9999">维修店管理</span>
        </a>
        <a class="weui-flex__item"  href="{:url('p_team/dealer_team')}">
            <i class="micon-payment"></i>
            {gt name="data.dealer_team.dealer_num" value="0"}
            <i class="micon-tips">{$data.dealer_team.dealer_num}</i>
            {/gt}
            <span class="fs07 cl-9999">经销商管理</span>
        </a>
        {/eq}
    </div>
    <div class="weui-cells">
        <a class="weui-cell weui-cell_access" href="{:url('p_wallet/index')}">
            <div class="weui-cell__hd"><img src="/static/wechat/images/refund.png"></div>
            <div class="weui-cell__bd">
                <p class="fs08 cl-3333">钱包</p>
            </div>
            <div class="weui-cell__ft"></div>
        </a>
        <a class="weui-cell weui-cell_access" href="{:url('w_distribution/index', ['type' => 3])}">
            <div class="weui-cell__hd"><img src="/static/wechat/images/complain.png"></div>
            <div class="weui-cell__bd">
                <p class="fs08 cl-3333">我的分销</p>
            </div>
            <div class="weui-cell__ft"></div>
        </a>
        <a class="weui-cell weui-cell_access" href="{:url('service/index', ['type' => 3])}">
            <div class="weui-cell__hd"><img src="/static/wechat/images/mySales.png"></div>
            <div class="weui-cell__bd">
                <p class="fs08 cl-3333">客服</p>
            </div>
            <div class="weui-cell__ft"></div>
        </a>
    </div>
    <div class="weui-cells">
        <a class="weui-cell weui-cell_access" href="{:url('set/index', ['type' => 3])}">
            <div class="weui-cell__hd"><img src="/static/wechat/images/set.png"></div>
            <div class="weui-cell__bd">
                <p>设置</p>
            </div>
            <div class="weui-cell__ft"></div>
        </a>
    </div>
</div>
{/block}
{block name="javascript"}

{/block}